Add automated Ruby version detection and publishing workflows#107
Open
rafaelfranca wants to merge 1 commit intorails:mainfrom
Open
Add automated Ruby version detection and publishing workflows#107rafaelfranca wants to merge 1 commit intorails:mainfrom
rafaelfranca wants to merge 1 commit intorails:mainfrom
Conversation
6c5aa19 to
aca66e1
Compare
Implements end-to-end automation for detecting new Ruby versions from rbenv/ruby-build and publishing features/images with approval gates. Key Features: - Daily check for new Ruby versions (>= 3.2.0 non-EOL only) - Automatic PR creation with auto-merge on CI success - Conditional publishing: full rebuild on feature bump, incremental otherwise - Single approval gate for all publishing operations - Comprehensive workflow annotations and failure notifications Workflows: - check-ruby-versions.yaml: Daily cron + manual trigger for detection - publish-ruby-updates.yaml: Handles feature/image publishing with approval - Modified release-features.yaml: Excludes Ruby feature from batch publish - Modified publish-new-image-version.yaml: Uses dynamic matrix from JSON Scripts: - find-new-ruby-versions: Fetches and filters versions from ruby-build - check-and-create-pr: Orchestrates detection and PR creation - create-ruby-versions-pr: Creates formatted PR with automation labels - check-feature-bump: Detects feature version changes in commits - extract-new-ruby-versions: Parses new versions from git diff - get-current-image-version: Gets latest ruby-* tag - Modified add-ruby-version: Uses JSON storage instead of YAML Infrastructure: - .github/ruby-versions.json: Single source of truth for version matrix - Uses RUBY_AUTOMATION_PAT for proper workflow triggering - Proper stdout/stderr separation for script composition - yq installed in devcontainer for JSON/YAML manipulation Workflow Behavior: - Feature bump: Publish feature → create release → tag → build all versions - No bump: Trigger builds for new Ruby versions only - Approval step shows summary of what will be published - Failure notifications create GitHub issues automatically
aca66e1 to
8612eb7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements end-to-end automation for detecting new Ruby versions from rbenv/ruby-build and publishing features/images with approval gates.
Key Features:
Workflows:
Scripts:
Infrastructure:
Workflow Behavior:
Closes #105